home *** CD-ROM | disk | FTP | other *** search
- Path: news1.h1.usa.pipeline.com!usenet
- From: grantp@usa.pipeline.com(Pete)
- Newsgroups: comp.lang.c++
- Subject: Re: Visual C++ and DLLs
- Date: 1 Feb 1996 09:37:09 GMT
- Organization: Kalevi, Inc.
- Message-ID: <4eq1k5$24g@news1.usa.pipeline.com>
- NNTP-Posting-Host: pipe10.h1.usa.pipeline.com
- X-PipeUser: grantp
- X-PipeHub: usa.pipeline.com
- X-PipeGCOS: (Pete)
- X-Newsreader: Pipeline USA v3.3.0
-
- On Feb 01, 1996 03:08:31 in article <Visual C++ and DLLs>, 'KSIAS@msn.com
- (Ken Sias)' wrote:
-
-
- >I have a question concerning Visual C++ and DLL....I am using Visual
- >C++ 4.0 and I create a new Project Workspace and select Application
- >DLL. I create a resource - a dialog and then through the Class
- >Wizard create a class. I then build the DLL. Then I create a new
- >Project Workspace and select Application - Exe. I then link the DLL
- >in the settings link and get an invalid file error - corrupt header.
-
- What are you trying to link? The DLL? That's a no-no.
-
- When you create the DLL, an import library file, .LIB, is created.
- That's the file you link to your main program -- use Insert |
- Files into project. The DLL itself isn't "linked" until run time.
-
- --
- Pete Grant
- Kalevi, Inc.
- Object Oriented Software Development
-